let url_config = ""
if(process.env.NODE_ENV === 'development'){
    // 开发环境
	let sysData = uni.getStorageInfoSync('__SYSTEM_DATA__')
	let sysDevice = uni.getSystemInfoSync()
    url_config = '/post'
	// #ifdef APP
	url_config = 'https://support.exueshi.com/post'		
	// #endif
	if(sysDevice.hasOwnProperty('brand') && sysDevice['rand'] != undefined){
		url_config = 'https://support.exueshi.com/post'		
	}
	//endif
}else{
    // 生产环境
    url_config = 'https://support.exueshi.com/post'
}
export default url_config

/**
 * 拼接对象为请求字符串
 * 对于需要编码的文本（比如说中文）我们要进行编码
 * @param {Object} obj - 待拼接的对象
 * @returns {string} - 拼接成的请求字符串
export function formatGetUri(obj: Object) {
  const params: Array<string> = []
  Object.keys(obj).forEach((key) => {
    let value = obj[key]
    if (typeof value !== 'undefined' || value !== null) {
      params.push([key, encodeURIComponent(value)].join('='))
    }
  })
  return '?' + params.join('&')
}

 **/